package com.hengda.museumonline.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;

import com.hengda.museumonline.R;
import com.hengda.museumonline.adapter.SearchingAdapter;

/**
 * @author：JFWU on 2016/9/27 14:02
 * @E-mail：jeffy12138@126.com
 */
public class SearchingActivity extends BaseActivity {
    private RecyclerView recyclerview;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_searching);
        recyclerview = (RecyclerView) findViewById(R.id.recyclerview);
        recyclerview.setLayoutManager(new LinearLayoutManager(SearchingActivity.this));
        recyclerview.setAdapter(new SearchingAdapter(SearchingActivity.this));
    }
}
